pub fn draw(s_szie:&winit::dpi::LogicalSize<f32>,pixels: &mut [u8]){
    for (i,pixel) in pixels.chunks_exact_mut(4).enumerate(){
        let x = (i % s_szie.width as usize) as i16;
        let y = (i / s_szie.width as usize) as i16;

        let rgba = [(x%255) as u8,(y%255) as u8,((x-y).abs()%255) as u8,255];
        pixel.copy_from_slice(&rgba);
    }
}